package com.sh.caryr.erp.entity.stock;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;

/**
 * <p>
 * 仓库表
 * </p>
 *
 * @author milkeeper
 * @since 2017-11-28
 */
@TableName("erp_storage")
public class Storage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
    /**
     * 仓库类型，自发仓库：1，第三方仓库：2
     */
	private Integer storageType;
    /**
     * 仓库名称
     */
	private String storageName;
    /**
     * 仓库状态，正常：1，异常：2
     */
	private Integer storageStatus;
    /**
     * 仓库地址
     */
	private String storageAddress;
    /**
     * 仓库管理员名称
     */
	private String storageAdminName;
    /**
     * 仓库管理员电话
     */
	private String storageAdminPhone;
    /**
     * 仓库备注
     */
	private String remark;
    /**
     * 建档人
     */
	private String builder;
    /**
     * 建档时间
     */
	private Date buiderTime;
    /**
     * 修改人
     */
	private String modifier;
    /**
     * 修改时间
     */
	private Date modifiedTime;
    /**
     * 快递模版编号
     */
	private String expressTemplateId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getStorageType() {
		return storageType;
	}

	public void setStorageType(Integer storageType) {
		this.storageType = storageType;
	}

	public String getStorageName() {
		return storageName;
	}

	public void setStorageName(String storageName) {
		this.storageName = storageName;
	}

	public Integer getStorageStatus() {
		return storageStatus;
	}

	public void setStorageStatus(Integer storageStatus) {
		this.storageStatus = storageStatus;
	}

	public String getStorageAddress() {
		return storageAddress;
	}

	public void setStorageAddress(String storageAddress) {
		this.storageAddress = storageAddress;
	}

	public String getStorageAdminName() {
		return storageAdminName;
	}

	public void setStorageAdminName(String storageAdminName) {
		this.storageAdminName = storageAdminName;
	}

	public String getStorageAdminPhone() {
		return storageAdminPhone;
	}

	public void setStorageAdminPhone(String storageAdminPhone) {
		this.storageAdminPhone = storageAdminPhone;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getBuilder() {
		return builder;
	}

	public void setBuilder(String builder) {
		this.builder = builder;
	}

	public Date getBuiderTime() {
		return buiderTime;
	}

	public void setBuiderTime(Date buiderTime) {
		this.buiderTime = buiderTime;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public String getExpressTemplateId() {
		return expressTemplateId;
	}

	public void setExpressTemplateId(String expressTemplateId) {
		this.expressTemplateId = expressTemplateId;
	}

	@Override
	public String toString() {
		return "Storage{" +
			", id=" + id +
			", storageType=" + storageType +
			", storageName=" + storageName +
			", storageStatus=" + storageStatus +
			", storageAddress=" + storageAddress +
			", storageAdminName=" + storageAdminName +
			", storageAdminPhone=" + storageAdminPhone +
			", remark=" + remark +
			", builder=" + builder +
			", buiderTime=" + buiderTime +
			", modifier=" + modifier +
			", modifiedTime=" + modifiedTime +
			", expressTemplateId=" + expressTemplateId +
			"}";
	}
}
